<template>
    <div>
        <headNav title="查看附件"></headNav>
        <div class="mediaBox">
            <iframe :src="'https://view.officeapps.live.com/op/view.aspx?src=' + attachUrl" width='100%' height='100%'>
            </iframe>
        </div>
    </div>
</template>
<script>
import headNav from '@/components/headNav/headNav'
export default {
     components:{
       headNav
    },
    computed: {
        attachUrl () {
            return this.$store.state.notice2.attachUrl
        }
    }
}
</script>
<style scoped>
.mediaBox{
    height: calc(100% - 0.88rem);
}
</style>
